package model;

import java.util.Map;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("xml")
public class ImgMessage extends BaseMessage {

	@XStreamAlias("MediaId")
	private String mediaId;
	
	
	
	public String getMediaId() {
		return mediaId;
	}



	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	


	@Override
	public String toString() {
		return "ImgMessage [mediaId=" + mediaId + ", getToUserName()=" + getToUserName() + ", getFromUserName()="
				+ getFromUserName() + ", getCreateTime()=" + getCreateTime() + ", getMsgType()=" + getMsgType() + "]";
	}



	public ImgMessage(Map<String, String> reqMap,String mediaId) {
		super(reqMap);
		this.setMsgType("image");
		this.mediaId = mediaId;
	}
	
}
